package com.opgea.crm.repository;

import java.util.List;

import com.opgea.crm.common.constant.ApplicationConstant;
import com.opgea.crm.domain.entities.Lead;

public interface LeadRepo {

	public void create(Lead lead);
	public void update(Lead lead);
	public void remove(long id);
	public Lead find(long id);
	public List<Lead> findAll();
	public List<Lead> findAllByCompanyId(long companyId);
	public List<Lead> findDynamically(String criteria, String value, ApplicationConstant.LeadStatusQualifier leadStatusFlag);
	public List<Lead> findDynamically(String criteria, String value);
	public List<Lead> findLeadList(Long assignedToId,Long gradeId,Long stageId);

}
